package com.zelix;

public final class tn {

    private String a;
    private int b;
    private boolean c;
    private static tn d;
    private static String z[];

    static {
        z = new String[2];
        z[0] = "|||";
        z[1] = "||*";
        d = new tn();
    }

    private tn() {
        a = "";
        b = 0;
        c = true;
    }

    tn(sn sn1) {
        super();
        wn awn[];
        StringBuffer stringbuffer;
        int i;
        int j;
        boolean flag1;
        flag1 = wn.C;
        awn = sn1.c();
        stringbuffer = new StringBuffer();
        i = awn.length;
        j = 0;
        if (!flag1)goto _L2;else goto _L1
        _L1:
        wn wn1 = awn[j];
        if (!wn1.e())
            c = true;
        stringbuffer.append(wn1.c());
        if (j < i - 1)
            stringbuffer.append("|");
        j++;
        _L2:
        if (j < i)goto _L1;else goto _L3
        _L3:
        boolean flag;
        wn awn1[];
        int k;
        b = i;
        flag = false;
        awn1 = sn1.f();
        i = awn1.length;
        k = 0;
        if (!flag1)goto _L5;else goto _L4
        _L4:
        if (!awn1[k].e()) {
            if (!flag)
                stringbuffer.append(z[0]);
            flag = true;
            c = true;
        }
        k++;
        _L5:
        if (k >= i) {
            e1 e1_1 = sn1.e();
            if (e1_1 != null) {
                stringbuffer.append(z[1]);
                stringbuffer.append(e1_1.a().hashCode());
            }
            a = stringbuffer.toString();
            return;
        }
        if (true)goto _L4;else goto _L6
        _L6:
    }

    public boolean equals(Object obj) {
        if (obj instanceof tn)
            return a.equals(((tn) obj).a);
        else
            return false;
    }

    public static tn a() {
        return d;
    }

    public int b() {
        return b;
    }

    public int hashCode() {
        return a.hashCode();
    }

    public boolean c() {
        return c;
    }
}